﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace LIM.forms
{
    public partial class radForm_CongNo_DanhSachCongNo : Telerik.WinControls.UI.RadForm
    {
        public radForm_CongNo_DanhSachCongNo()
        {
            InitializeComponent();
            radGridView2.DataSource = GetTable();
        }
        static DataTable GetTable()
        {
            //
            // Here we create a DataTable with four columns.
            //
            DataTable table = new DataTable();
            table.Columns.Add("Ma", typeof(string));
            table.Columns.Add("TenGoi", typeof(string));
            table.Columns.Add("TenGoiNgan", typeof(string));
            table.Columns.Add("NoPhaiThu", typeof(string));
            table.Columns.Add("HanMucToiThieu", typeof(string));
            table.Columns.Add("HanMucToiDa", typeof(string));
            // Here we add five DataRows.
            //
            table.Rows.Add("CN01", "Công Ty Cổ Phần ABC", "A", "2000", "100", "10000");
            table.Rows.Add("CN02", "Công Ty TNHH E", "E", "3000", "90", "6500");
            table.Rows.Add("CN03", "Công Ty TNHH Bảo Việt", "C", "4000", "1000", "8000");
            return table;
           
        }
        private void radForm_CongNo_DanhSachCongNo_Load(object sender, EventArgs e)
        {

        }
    }
}
